
%.ps: %.fig
	fig2dev -L ps -c -P -z A4 "$^" "$@"

all: 01\ Intro\ USB.ps 02\ Dispositivos.ps 03\ Cronograma.ps \
	 04\ Capas.ps 05\ Controladores\ del\ bus.ps 06\ El\ ncleo.ps \
	 07\ Hub\ Manager.ps 08\ Gestor\ de\ drivers\ -\ Configuracin.ps \
	 09\ Transacciones.ps

tarball: garbage ../UUSBD\ Hispalinux\ 98.tar.bz2 

../UUSBD\ Hispalinux\ 98.tar.bz2: all
	cd .. && tar cvf - UUSBD\ Hispalinux\ 98 \
	         | bzip2 -9 > UUSBD\ Hispalinux\ 98.tar.bz2

garbage:
	rm -f *~ *.bak

clean: garbage
	rm -f *.ps
